package com.answer.controller; 

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import com.answer.pojo.User;
import com.answer.service.UserServiceImpl;


@Controller
@RequestMapping("/user")
public class UserController {
	
	@Autowired
	private UserServiceImpl userServiceImpl;
	
	@RequestMapping("/list")
	public String toIndex(HttpServletRequest request,Model model){
		List<User> list = userServiceImpl.getList();
		return "404";
	}
}